import { ProSchemaValueEnumType } from "@ant-design/pro-components";

export const deviceManageBase = {
  operatUser: ['移动', '电信', '联通'],
  netWay: ['有线连接', '物联网卡'],
  deviceType: ['低位视频桩', '高位视频桩'],
};

export const deviceServicesStatusMapping: (ProSchemaValueEnumType & { key: number; option: boolean})[] = [
  {
    key: 0,
    text: '设备离线',
    color: 'grey',
    status: 'outline',
    option: true,
  },
  {
    key: 1,
    text: '设备在线',
    color: 'green',
    status: 'success',
    option: true,
  },
]
